package com.strategy.demo2;

public class DemoTest1 {


    public static void main(String[] args) {
        String type = "MT2101";
        ReceiptService receiptService = ReceiptFactory.receiptServiceMap.get(type);
        receiptService.processingType(type);
    }

}
